import request from '@/utils/request'
// 退费列表
export function getRefundList(data) {
	return request({
		url: '/admin/refund/lists',
		method: 'get',
		params: data
	})
}
// 退费审核
export function refundVerify(data) {
	return request({
		url: '/admin/refund/verify',
		method: 'post',
		data
	})
}
// 启用停用状态
export function optSH(data) {
	return request({
		url: '/Sheji/Lesson/optSH',
		method: 'post',
		data
	})
}
// 订单列表
export function adminOrderList(data) {
	return request({
		url: '/admin/order/lists',
		method: 'get',
		params: data
	})
}
// 订单支付
export function orderRefund(data) {
	return request({
		url: '/admin/order/refund',
		method: 'post',
		data
	})
}
// 订单退款审核
export function orderVerify(data) {
	return request({
		url: '/admin/refund/verify',
		method: 'post',
		data
	})
}

// 选手详情
export function orderPlayerDetail(data) {
	return request({
		url: '/admin/order_player/detail',
		method: 'get',
		params: data
	})
}

// 编辑选手信息
export function orderPlayerEdit(data) {
	return request({
		url: '/admin/order_player/edit',
		method: 'post',
		data
	})
}

// 发送中签结果
export function resultNotice(data) {
	return request({
		url: '/admin/order/complete_result_notice',
		method: 'post',
		data
	})
}

// 国家
export function countryData(data) {
	return request({
		url: '/admin/country',
		method: 'get',
		params: data
	})
}